mus=jso_new_map();
jso_map_add_integer(mus,"on",music_switch.music_on);
jso_map_add_real(mus,"vol",music_switch.music_vol);
sfx=jso_new_map();
jso_map_add_integer(sfx,"on",sounds_switch.music_on);
jso_map_add_real(sfx,"vol",sounds_switch.music_vol);
sound=jso_new_map();
jso_map_add_submap(sound,"music",mus);
jso_map_add_submap(sound,"sfx",sfx);

assist=jso_new_map();
jso_map_add_integer(assist,"on",assist_switch.music_on);
game_play=jso_new_map();
jso_map_add_submap(game_play,"assist",assist);


global.sets_map=jso_new_map();
jso_map_add_submap(global.sets_map,"sound",sound);
jso_map_add_submap(global.sets_map,"game_play",game_play);
return jso_encode_map(global.sets_map);
